home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 7663 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: news.indy.net!amphigory!pazuzu
  2. From: Pazuzu@amphigory.com (Pazuzu)
  3. Date: 27 Feb 96 20:16:50 
  4. Newsgroups: comp.lang.c
  5. Subject: Best way to insert in file
  6. Message-ID: <13c_9602272020@amphigory.com>
  7. Organization: The Vision and the Void
  8.  
  9. >From: Bryan Liles
  10. >To: All
  11. >Subject: Best way to insert in file
  12. >Date: 23 Feb 96  17:03:33
  13.  
  14. >Subject: Best way to insert in file
  15. >From: stork@serv2.fwi.com (Bryan Liles)
  16. >Organization: Fort Wayne Internet
  17.  
  18. >What would be the best way to insert data in to the middle of a text file?
  19. >I have a program that is supposed to automatically fill out an application.
  20. >(its a an internic domain app)  
  21.  
  22.  
  23. In DOS?  It's impossible.  You'd have to read up to the insertion point into a
  24. temp file, put the inserted text at the end of the temp file, then plop in the
  25. rest of the original file.  It's a pain in the ass.
  26.  
  27.  
  28. ---
  29. Pazuzu (pazuzu@amphigory.com):
  30.    SysOp: The Vision and the Void - +1 219 583 5786 - 2400 - 28,800 24/7
  31.     Running Excalibur & WME / BeeMail Alpha Site - h/p, Law, Drugs, Etc
  32. --- home page: http://www.beemail.com/pazuzu ---
  33. GothCode 2.0: GoCS!4Ju!3 TJt cDBRc+3M PSl(R) V++s M++ ZGo(GnPuSkInExThBm) 
  34. C+4P15ucp a25+ n+O b:+T H180 g+T w+T r+3(-3)B D+4! h++ s10 k++BdSMDsWR Rm 
  35. Sm N1291LS LusIN- HfsSp8 
  36.